<!DOCTYPE html>
<html>

	<head lang="en">
		<title>首页</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<link rel="stylesheet" href="/js/bootstrap-4.1.1-dist/css/bootstrap.min.css">
		<script src="/js/jquery/jquery.min.js"></script>
		<script src="/js/bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="/css/font/css/font-awesome.min.css" />
		<link rel="stylesheet" href="/css/reset.css" />
		<link rel="stylesheet" href="/css/strategyDetails.css" />
		<script src="/js/plugins/jrender/jrender.min.js"></script>
		<!-- 引入jquery 和 common.js 可以获取到地址栏上拼接的参数 -->
		<script type="text/javascript" src="/js/common.js"></script>
		<script>
            $(function () {
                // 先从地址栏上获取当前游记的i的,发送请求获取对应的id的游记信息,渲染到页面中
                var params = getParams(); // 获取地址栏上的数据信息转成key=value的形式
                if (params.id) {
                    // 发送Ajax请求查询对应id的游记内容
                    $.get("/strategies/details/" + params.id, function (data) {
                        // 数据渲染
                        $(".container").renderValues(data);
                    });
                }
            });
		</script>
	</head>

	<body>

	<div class=" nav-search">
		<a href="javascript:history.go(-1);">
			<span><i class="fa fa-chevron-left"></i></span>
		</a>
	</div>
	<hr>

	<div class="container detail">
		<h4 class="title"><strong render-html="title">广州早茶必点什么？</strong></h4>
		<img class="head-img" render-src="coverUrl">
		<div class="author">By <span ></span></div>
		<div class="content" render-html="content.content">

		</div>
	</div>



	</body>

</html>